home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Graphics / QuickDraw GX / IW-Half-Dither / source / DriverProtos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.3 KB  |  41 lines  |  [TEXT/MPS ]

  1. /*
  2.     copyright © 1992-1996 Apple Computer Inc.  All rights reserved.
  3.     
  4.     DriverProtos.h
  5.     
  6.     This file implements old application message overrides for the specific driver.
  7.     
  8.     Included in this file is the old PrintRecord emulation.  Note that the ImageWriter
  9.     PrintRecord is a wonder of misdirection and special cases.  You'll have fun
  10.     figuring out the code - so unless you really want to exactly emulate the ImageWriter
  11.     pages, you shouldn't spend too much time looking at this code.
  12.     
  13.     Modification history
  14.     7/23/92            TED                New file today
  15.     12/20/93        dmh                Sync'd with the shipping 1.0b3 GX driver.
  16.      8/26/94        dmh                Sync'd with the shipping 1.0.1 GX driver.
  17.     28/03/96        JHH                
  18. */
  19.  
  20. #ifndef __DRVRPROTOSHEADER__
  21. #define __DRVRPROTOSHEADER__
  22.  
  23. /****    Macintosh Toolbox Headers    ****/
  24.  
  25. #ifndef __GXPRINTERDRIVERS__
  26. #include <GXPrinterDrivers.h>
  27. #endif
  28.  
  29.  
  30. /****    OldApp.c prototypes        ****/
  31.  
  32. OSErr    SD_ConvertPrintRecordTo(THPrint hoPrint);
  33. OSErr    SD_ConvertPrintRecordFrom(gxUniversalPrintRecordHdl huPrint);
  34. OSErr    UpdatePrintRecord(THPrint hPrint);
  35. OSErr    SD_ConvertPrintRecordTo(THPrint hoPrint);
  36. OSErr    SD_ConvertPrintRecordFrom(gxUniversalPrintRecordHdl huPrint);
  37. OSErr    SD_PrintRecordToJob(THPrint hPrint, gxJob theJob);
  38. OSErr    SD_PrValidate(    THPrint hPrint, Boolean *wasChanged);
  39. OSErr    SD_PrJobInit(THPrint hPrint, TPPrDlg * pDlg);
  40.  
  41. #endif //__DRVRPROTOSHEADER__